
<!--修改弹出框-->
<div class="wizard" id="wizard-edit">
    <form id="editForm" method="post">
        <h1>修改菜单</h1>
        <div class="wizard-card" data-onValidated="setServerName" data-cardname="name">
            <h3 class="text-center"><span>修改菜单</span></h3>
            <input type="hidden" name="wid_edit" value="">
            <div class="wizard-input-section">
                <div class="form-group">
                    <label>上级菜单 </label><span>*</span>
                    <select class="form-control" name="pid">
                        <option value="0">一级菜单</option>
                        {volist name="ways" id="v"}
                        {if condition="$v['pid'] eq '0'"}
                        <option value="{$v['wid']}">{$v.w_name}</option>
                        {/if}
                        {/volist}
                    </select>
                </div>
            </div>
            <div class="wizard-input-section">
                <div class="form-group">
                    <label>菜单名称 <span>*</span>
                    </label>
                    <div>
                        <input type="text" id="w_name" name="w_name" required="required" class="form-control col-md-7 col-xs-12">
                    </div>
                </div>
            </div>
            <div class="wizard-input-section">
                <div class="form-group">
                    <label class="control-label">控制器名 <span>*</span>
                    </label>
                    <div>
                        <input type="text" name="w_control" required="required" class="form-control col-md-7 col-xs-12">
                    </div>
                </div>
            </div>
            <div class="wizard-input-section">
                <div class="form-group">
                    <label class="control-label">操作名 <span class="required">*</span>
                    </label>
                    <div>
                        <input type="text" name="w_way" required="required" class="form-control col-md-7 col-xs-12">
                    </div>
                </div>
            </div>
            <div class="wizard-input-section">
                <div class="form-group">
                    <label class="control-label">状态 </label>
                    <div>
                        <select id="status" class="form-control col-md-7 col-xs-12" name="status">
                            <option value="1" selected>正常</option>
                            <option value="0">禁用</option>
                        </select>
                    </div>
                </div>
            </div>
        </div>

    </form>
</div>
<!--修改弹出框-->
